package com.xxx.yuedong.mine.controller.form;

import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.ArrayList;

/**
 * @author HG
 * @version 1.0
 **/
@Data
public class InsertGuidePageDataForm {
    /**
     * 身高
     */
    @NotNull(message = "身高不能为空")
    private Integer height;
    /**
     * 体重
     */
    @NotNull(message = "体重不能为空")
    private Integer weight;
    /**
     * 性别：1男2女
     */
    @NotNull(message = "性别不能为空")
    private Byte sex;
    /**
     * 训练目标
     */
    @NotEmpty(message = "训练目标不能为空")
    private String[] tags;
}
